package com.cupk.questionnaire.config;

import com.cupk.questionnaire.config.filters.ContentTypeNoSniffFilter;
import com.cupk.questionnaire.config.filters.IFrameFilter;
import com.cupk.questionnaire.config.filters.XSSProtectFilter;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
public class WebSecurityConfig {

    @Bean
    public ContentTypeNoSniffFilter contentTypeNoSniffFilter() {
        return new ContentTypeNoSniffFilter();
    }

    @Bean
    public IFrameFilter iFrameFilter() {
        return new IFrameFilter();
    }

    @Bean
    public XSSProtectFilter xssProtectFilter() {
        return new XSSProtectFilter();
    }

}
